Skip to content

Conversation

@sopranopillow
Copy link
Contributor

Current Behavior

AvatarGroup has no unit and visual regression tests.

New Behavior

AvatarGroup has unit and visual regression tests.

Related Issue(s)

#22240

@sopranopillow sopranopillow requested a review from a team as a code owner June 14, 2022 19:51
@sopranopillow sopranopillow self-assigned this Jun 14, 2022
@sopranopillow sopranopillow requested review from a team, behowell and khmakoto as code owners June 14, 2022 19:51
@sopranopillow sopranopillow mentioned this pull request Jun 14, 2022
7 tasks
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 14, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d819130:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Jun 14, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-avatar
AvatarGroup
136.183 kB
40.662 kB
136.262 kB
40.676 kB
79 B
14 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-avatar
Avatar
46.757 kB
13.737 kB
react-avatar
AvatarGroupItem
66.472 kB
19.079 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.067 kB
52.144 kB
react-components
react-components: FluentProvider & webLightTheme
31.883 kB
10.516 kB
🤖 This report was generated against 274c198a3b058f44d8985dbe0ced2b0052187c38

@fabricteam
Copy link
Collaborator

fabricteam commented Jun 14, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1369 1310 5000
Button mount 1017 1003 5000
FluentProvider mount 1724 1752 5000
FluentProviderWithTheme mount 696 686 10
FluentProviderWithTheme virtual-rerender 633 670 10
FluentProviderWithTheme virtual-rerender-with-unmount 717 682 10
MakeStyles mount 2091 2104 50000

@size-auditor
Copy link

size-auditor bot commented Jun 14, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 2765b1f72c50c96e7f8e433d80762e9fa25d685f (build)

@sopranopillow sopranopillow requested a review from khmakoto June 28, 2022 20:41
@sopranopillow sopranopillow merged commit 1573558 into microsoft:master Jun 28, 2022
@sopranopillow sopranopillow deleted the avatargroup-tests branch June 28, 2022 22:55
marcosmoura pushed a commit to marcosmoura/fluentui that referenced this pull request Jun 29, 2022
…ect-amout-of-items

* master:
  chore: improve error message in useIsSSR() (microsoft#23750)
  fix: Codesandbox exports should use ^9.0.0 (microsoft#23764)
  applying package updates
  Update BadgeColor.stories.tsx (microsoft#23762)
  chore(react-avatar): Adding unit and vr tests for AvatarGroup (microsoft#23549)
  docs(react-avatar): Adding readme and migration guide for AvatarGroup (microsoft#23758)
  update deps after 9.0.1 release (microsoft#23756)
  applying package updates
  fix: Use caret dependency range for Griffel (microsoft#23754)
  Theme designer: minor fixes (microsoft#23741)
  fix: Dependency mismatch after 9.0.0 release (microsoft#23752)
khmakoto added a commit to khmakoto/fluentui that referenced this pull request Jul 13, 2022
…oft#23549)

* adding testing to AvatarGroup

* restore badge api file

* change fileS

* reverting api file

* fixing interactive story in vr-tests

* fixing cropping of interactive story

* possible border radius fix

* removing unnecessary div

* reverting changes

* possible fix

* sync

* reverting files to deal with issue in another PR

* Update change/@fluentui-react-avatar-0ebe3e03-9d8f-48f7-a4c0-2a95b7014e2e.json

Co-authored-by: Makoto Morimoto <[email protected]>

* Update apps/vr-tests-react-components/src/stories/AvatarGroup.stories.tsx

Co-authored-by: Makoto Morimoto <[email protected]>

* Update packages/react-components/react-avatar/src/components/AvatarGroup/AvatarGroup.test.tsx

Co-authored-by: Sean Monahan <[email protected]>

* covering stack and pie for rtl+HCM+dark mode

* updating vr-tests

* updating classname tests for AvatarGroup

* adding color to diviers

Co-authored-by: Makoto Morimoto <[email protected]>
Co-authored-by: Sean Monahan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants